package com.sciencep.pro.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author Sciencep
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ProBaseInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 项目类型ID
     */
    @TableField("proTypeId")
    private String proTypeId;

    /**
     * 项目节点ID
     */
    @TableField("proNodeId")
    private String proNodeId;

    /**
     * 项目编号
     */
    @TableField("proCode")
    private String proCode;

    /**
     * 合同编号
     */
    @TableField("contractCode")
    private String contractCode;

    /**
     * 项目名称
     */
    @TableField("proName")
    private String proName;

    /**
     * 项目优先级
     */
    @TableField("proPriority")
    private Integer proPriority;

    /**
     * 归属分社ID
     */
    @TableField("branchId")
    private String branchId;

    /**
     * 项目概述
     */
    @TableField("proSummary")
    private String proSummary;

    /**
     * 项目公告
     */
    @TableField("proNotice")
    private String proNotice;

    /**
     * 项目开始日期
     */
    @TableField("proStartDay")
    private Date proStartDay;

    /**
     * 项目结束日期
     */
    @TableField("proEndday")
    private Date proEndday;

    /**
     * 归属部门ID
     */
    @TableField("deptId")
    private String deptId;

    /**
     * 项目负责人ID
     */
    @TableField("proManager")
    private String proManager;

    /**
     * 项目状态
     */
    @TableField("proStatus")
    private Integer proStatus;



    private  transient  String branchName;

    private  transient  String contactName;

    private  transient  Boolean isProManager = false;


}
